using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("MobilePermissionsManager")]
	public class MobilePermissionsManager : MonoBehaviour
	{
		public MobilePermissionsManager(IntPtr address, string className)
			: base(address, className)
		{
		}

		public MobilePermissionsManager(IntPtr address)
			: this(address, "MobilePermissionsManager")
		{
		}

		public static MobilePermissionsManager Get()
		{
			return MonoClass.smethod_15<MobilePermissionsManager>(TritonHs.MainAssemblyPath, "", "MobilePermissionsManager", "Get", Array.Empty<object>());
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public bool CheckPermission(MobilePermission permission)
		{
			return method_11<bool>("CheckPermission", new object[1] { permission });
		}

		public bool CheckPermissionWindows(MobilePermission permission)
		{
			return method_11<bool>("CheckPermissionWindows", new object[1] { permission });
		}

		public bool CheckPermissionAndroid(MobilePermission permission)
		{
			return method_10<bool>("CheckPermissionAndroid", new Class276.Enum20[1] { Class276.Enum20.ValueType }, new object[1] { permission });
		}

		public bool CheckPermissionAndroid(string permission)
		{
			return method_10<bool>("CheckPermissionAndroid", new Class276.Enum20[1] { Class276.Enum20.String }, new object[1] { permission });
		}

		public void OnPermissionResult(string result)
		{
			method_8("OnPermissionResult", result);
		}

		public void InitAndroidPermissionStrings()
		{
			method_8("InitAndroidPermissionStrings");
		}
	}
}
